package com.pp.small.user.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.pp.small.common.base.BaseEntity;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author pzh
 * @since 2024-12-11 16:02:28
 */
@Getter
@Setter
@Schema(name = "User", description = "用户表")
public class User extends BaseEntity {

    @Schema(description = "ID")
    @TableId("id")
    private Long id;

    @Schema(description = "用户姓名")
    private String name;

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "头像图片路径")
    private String pic;
}
